package com.example.goodsserver.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CollectionVO {
    @ApiModelProperty(value="主键")
    private String id;
    @ApiModelProperty(value="商品主键")
    private String goodsId;
    @ApiModelProperty(value="商品标题", example = "Java基础入门")
    private String title;
    @ApiModelProperty(value="商品价格", example = "50")
    private Double price;
    @ApiModelProperty(value="商品状态", example = "1")
    private int status;
    @ApiModelProperty(value="商品图片地址", example = "url")
    private String photo;
    @ApiModelProperty(value="发布用户名", example = "1")
    private String postName;
    @ApiModelProperty(value="发布用户头像名", example = "url")
    private String postPhoto;
}
